namespace IIS_Local4.Models
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("product")]
    public partial class product
    {
        public product()
        {
            productplan_put = new HashSet<productplan_put>();
        }

        [Key]
        [StringLength(25)]
        public string product_name { get; set; }

        [Required]
        [StringLength(5)]
        public string product_changed_number { get; set; }

        [Column(TypeName = "date")]
        public DateTime product_put_day { get; set; }

        [Column(TypeName = "date")]
        public DateTime? product_quit_day { get; set; }

        [Required]
        [StringLength(20)]
        public string product_description { get; set; }

        public virtual ICollection<productplan_put> productplan_put { get; set; }
    }
}
